package jbstoremgmt.service;

import java.util.List;

import jbstoremgmt.domain.Address;

public class BPDetailsBean implements Comparable {
	/**
	 * 
	 */
	private int bp_id;
	private String bp_fname;
	private String bp_mname;
	private String bp_lname;
	private Address  bp_address;
	private List<String> chkboxlist;
	private List<String> selectedlist;
	
	
	/*private String bp_gender;
	private String bp_dob;
	private String bp_add1;
	private String bp_add2;
	private String bp_add3;
	private String bp_ph1;
	private String bp_ph2;
	private String bp_ph3;;
	private String bp_city;
	private String bp_state;
	private String bp_country;
	private boolean bp_privileged; 
	private boolean bp_form_c;
	private String  bp_tin_no;
	private String  bp_porder;

	/*
		sold against form C
	TIN no
	Purchase Order
	*/
	
	public Address getBp_address() {
		return bp_address;
	}
	public void setBp_address(Address bpAddress) {
		bp_address = bpAddress;
	}
	private String errors;
	

	// Accessor Methods
	
	public int getBp_id() {
		return bp_id;
	}
	public void setBp_id(int bp_id) {
			this.bp_id = bp_id;
	}
	public String getBp_fname() {
		return bp_fname;
	}
	public void setBp_fname(String bp_fname) {
		this.bp_fname = bp_fname;
	}
	public String getBp_mname() {
		return bp_mname;
	}
	public void setBp_mname(String bp_mname) {
		this.bp_mname = bp_mname;
	}
	public String getBp_lname() {
		return bp_lname;
	}
	public void setBp_lname(String bp_lname) {
		this.bp_lname = bp_lname;
	}
	public String getErrors() {
		return errors;
	}
	public void setErrors(String errors) {
		this.errors = errors;
	}
	
	public int compareTo(Object o) {
		
		BPDetailsBean compareObj = (BPDetailsBean)o;
		return this.bp_fname.compareTo(compareObj.bp_fname);
	}
	public void setChkboxlist(List<String> chkboxlist) {
		this.chkboxlist = chkboxlist;
	}
	public List<String> getChkboxlist() {
		return chkboxlist;
	}
	public void setSelectedlist(List<String> selectedlist) {
		this.selectedlist = selectedlist;
	}
	public List<String> getSelectedlist() {
		return selectedlist;
	}
	
}
